@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html,body{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
    place-items: center;
    background: #456ABD;
    width: 100%;
    transition: background 0.3s ease;
}

.majorcontainer{
    display: flex;
    justify-content: space-between;;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px 0;
    align-content: space-between;
}

.container{
    flex-basis:auto;
    position: relative;
    height: 500px;
    width: 360px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-top: 20px;
    margin-left: 20px;
}


.container:hover{
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.2);
}
.container .image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.container .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}
.container:hover .image img{
    transform: scale(1.1);
}
.container .card-content{
    position: relative;
    height: 100%;
    width: 100%;
}
.card-content .wrapper{
    position: absolute;
    bottom: -100%;
    width: 100%;
    background: #fff;
    padding: 10px 25px;
    box-shadow: -1px -1px 6px rgba(0,0,0,0.1);
    transition: bottom 0.3s ease;
}
.container:hover .card-content .wrapper{
    bottom: 0px;
}
.wrapper .title{
    font-size: 30px;
    font-weight: 500;
}
.wrapper p{
    font-size: 19px;
    color: grey;
}
.wrapper .price{
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 25px;
    font-weight: 300;
    color: #456ABD;
}
.wrapper .content{
    margin: 10px 0;
}
.wrapper .content .name{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
}



.wrapper .btns{
    display: flex;
    height: 100px;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.wrapper .btns button{
    height: 40px;
    width: 100%;
    margin: 0 10px;
    border: 1px solid #456ABD;
    background: #456ABD;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}



.range{
    height: 80px;
    width: 310px;
    background: #fff;
    border-radius: 10px;
    padding: 0 65px 0 45px;
}
.sliderValue{
    position: relative;
    width: 100%;
}
.sliderValue span{
    position: absolute;
    height: 45px;
    width: 45px;
    transform: translateX(-70%) scale(0);
    font-weight: 500;
    top: -40px;
    line-height: 55px;
    z-index: 2;
    color: #fff;
    transform-origin: bottom;
    transition: transform 0.3s ease-in-out;
}
.sliderValue span.show{
    transform: translateX(-70%) scale(1);
}
.sliderValue span:after{
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    background: #664AFF;
    border: 3px solid #fff;
    z-index: -1;
    left: 25%;
    transform: translateX(-50%) rotate(45deg);
    border-bottom-left-radius: 50%;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}
.field{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}
.field .value{
    position: absolute;
    font-size: 18px;
    color: #664AFF;
    font-weight: 600;
}
.field .value.left{
    left: -22px;
}
.field .value.right{
    right: -43px;
}
.range input{
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    border: none;
    z-index: 2222;
}
.range input::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    background: #664AFF;
    border: 1px solid #664AFF;
    cursor: pointer;
}
.range input::-moz-range-thumb{
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    background: #664AFF;
    border: 1px solid #664AFF;
    cursor: pointer;
}
.range input::-moz-range-progress{
    background: #664AFF;
}

